import requests
import json
from lib.get_token import get_token1

a=get_token1()

url = "http://bitest.tclking.com"
url2="/authority/api/product/queryComboBoxProduct"
data= {"username":"ex_zhanpeng.yao","password":
    "OtdRavoe6KExNB2qEdeUIN9X8NASXd8PFqIhW1rnYBkdIcXu2WP1zdjtUZ2fLzhOZfBS3wxZ"
    "d2tabKXmkFXFRYlgjT8SOpCh2kPVZ1eXltjGYNoysZBjnpzbkJmA/xlVa0Seka6vm5QxppvgB"
    "P/7eMkK74YzZLrBmZO0rRLhufs="}

headers={"Cookie":"SIAMJWT="+a}
def test_1():
    resp=requests.get(url+url2,headers=headers)
    assert resp.status_code == 200
